package com.oha.laporrayelchurro.service;

import java.util.ArrayList;
import java.util.List;

import com.google.appengine.api.datastore.Entity;
import com.oha.laporrayelchurro.model.Pais;

public class PaisService extends ModelService{

	public List<Pais> getAll(){
		List<Pais> modelList = new ArrayList<Pais>();
		List<Entity> eList = getAllEntity("pais");
		for (Entity entity : eList) {
			modelList.add(new Pais(entity));
		}
		return modelList;
	}
	
}
